import request from "@/utils/request";
import axios from "axios";
export const userInfoService = () => request.get('/api/auth/userInfo')


const login = (user) => {
   return  axios.post('/api/user/login', user)
}